import type { IPageQuery } from '@/api/types';

// 查询条件
export type VehicleInfoQuery = IPageQuery & {
    vehicleNumber?: string;
    title?: string;
    driverName?: string;
    driverName2?: string;
    driverName3?: string;
    driverPhone1?: string;
    driverPhone2?: string;
    driverPhone3?: string;
    sort?: number;
    vehicleTypeCd?: string;
    isHidden?: string;
    departmentId?: number;
};

// 编辑form表单
export type VehicleInfoForm = {
    id?: number;
    vehicleNumber?: string;
    title?: string;
    driverName?: string;
    driverName2?: string;
    driverName3?: string;
    driverPhone1?: string;
    driverPhone2?: string;
    driverPhone3?: string;
    sort?: number;
    vehicleTypeCd?: string;
    isHidden?: string;
    departmentId?: number;
};

// list或detail返回结构
export type VehicleInfoRow = {
    id?: number;
    vehicleNumber?: string;
    title?: string;
    driverName?: string;
    driverName2?: string;
    driverName3?: string;
    driverPhone1?: string;
    driverPhone2?: string;
    driverPhone3?: string;
    sort?: number;
    vehicleTypeCd?: string;
    isHidden?: string;
    createTime?: string;
    updateTime?: string;
    createId?: number;
    updateId?: number;
    departmentId?: number;
};

